Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / FontWriter Class / CffGlyphsAndCharsToStream Method / CffGlyphsAndCharsToStream(Stream,Font,HashSet<UInt16>,HashSet<Int32>) Method
The destination Stream object.
The Font object with PostScript outlines stored in the CFF format.
Glyph indices to be added to the resulting table subset.
UTF-32 characters to be supported in the resulting table subset.

In This Topic
    CffGlyphsAndCharsToStream(Stream,Font,HashSet<UInt16>,HashSet<Int32>) Method
    In This Topic
    Writes a subset of the CFF font table containing both the specified glyphs and UTF-32 characters to a stream.
    Syntax
    'Declaration
     
    Public Overloads Function CffGlyphsAndCharsToStream( _
       ByVal stream As System.IO.Stream, _
       ByVal font As Font, _
       ByVal glyphIDs As System.Collections.Generic.HashSet(Of UShort), _
       ByVal utf32Chars As System.Collections.Generic.HashSet(Of Integer) _
    ) As System.Integer
    public System.int CffGlyphsAndCharsToStream( 
       System.IO.Stream stream,
       Font font,
       System.Collections.Generic.HashSet<ushort> glyphIDs,
       System.Collections.Generic.HashSet<int> utf32Chars
    )

    Parameters

    stream
    The destination Stream object.
    font
    The Font object with PostScript outlines stored in the CFF format.
    glyphIDs
    Glyph indices to be added to the resulting table subset.
    utf32Chars
    UTF-32 characters to be supported in the resulting table subset.

    Return Value

    The number of bytes saved to the stream.
    See Also